﻿<%@ Page Title="" Language="C#" MasterPageFile="~/CommunalPage.Master" AutoEventWireup="true"
    CodeBehind="PositionSearch.aspx.cs" Inherits="TalentRecruitmentSystem.Pages.PositionSearch" %>

<asp:Content ID="Content1" ContentPlaceHolderID="head" runat="server">
    <style type="text/css">
        .style2
        {
            width: 110px;
        }
        .style3
        {
            width: 219px;
        }
        .style4
        {
            width: 100px;
        }
        .style5
        {
            width: 444px;
        }
    </style>
</asp:Content>
<asp:Content ID="Content2" ContentPlaceHolderID="ContentPlaceHolder1" runat="server">
    <div>
        <table>
            <tr>
                <td>
                    <asp:Label ID="Label1" runat="server" Text="Label"></asp:Label>你好！欢迎你的再次登录
                </td>
                <td class="style5"></td>
                <td>
                <a href="UpdatePsw.aspx";>修改密码</a>
                </td>
            </tr>
        </table>
    </div>
    <div>
        <h3>
            职位搜索</h3>
        <hr />
    </div>
    <div style="background-image: url('http://localhost:43025/Images/Search1.jpg'); overflow: auto;
        z-index: auto; clip: rect(auto, auto, auto, auto); height: 60px; width: 696px;">
    </div>
    <div style="background-color: #FFFFFF; background-image: url('http://localhost:43025/Images/search2.jpg');
        height: 125px;">
        <table>
            <tr>
                <td rowspan="5" class="style4">
                </td>
                <td>
                </td>
                <td>
                </td>
                <td>
                </td>
                <td class="style2">
                    行业类别
                </td>
                <td class="style3">
                    <asp:DropDownList ID="DropDownList1" runat="server" DataTextField="TradebBongTo"
                        DataValueField="TradebBongTo" DataSourceID="EntityDataSource1">
                    </asp:DropDownList>
                    <asp:EntityDataSource ID="EntityDataSource1" runat="server" ConnectionString="name=Entities"
                        DefaultContainerName="Entities" EnableFlattening="False" EntitySetName="CompanyInfo"
                        Select="it.[TradebBongTo]">
                    </asp:EntityDataSource>
                </td>
            </tr>
            <tr>
                <td class="style2">
                    公司名称
                </td>
                <td class="style3">
                    <asp:TextBox ID="TextBox1" runat="server">
                    </asp:TextBox>
                </td>
                <td>
                </td>
                <td class="style2">
                    职业名称
                </td>
                <td class="style3">
                    <asp:DropDownList ID="DropDownList2" runat="server" DataTextField="Publishposition"
                        DataValueField="Publishposition" DataSourceID="EntityDataSource2">
                    </asp:DropDownList>
                    <asp:EntityDataSource ID="EntityDataSource2" runat="server" ConnectionString="name=Entities"
                        DefaultContainerName="Entities" EnableFlattening="False" EntitySetName="CompanyInfo"
                        Select="it.[Publishposition]">
                    </asp:EntityDataSource>
                </td>
            </tr>
            <tr>
                <td>
                </td>
                <td>
                </td>
                <td>
                </td>
                <td class="style2">
                    工作地点
                </td>
                <td class="style3">
                    <asp:DropDownList ID="DropDownList3" runat="server" DataTextField="WorkPlace" DataValueField="WorkPlace"
                        DataSourceID="EntityDataSource3">
                    </asp:DropDownList>
                    <asp:EntityDataSource ID="EntityDataSource3" runat="server" ConnectionString="name=Entities"
                        DefaultContainerName="Entities" EnableFlattening="False" EntitySetName="CompanyInfo"
                        Select="it.[WorkPlace]">
                    </asp:EntityDataSource>
                </td>
            </tr>
            <tr>
                <td colspan="2">
                    <asp:RadioButton ID="RadioButton1" runat="server" Text="按公司名称查询" GroupName="1" Checked="true" />
                </td>
                <td>
                </td>
                <td colspan="2">
                    <asp:RadioButton ID="RadioButton2" runat="server" Text="按条件查询" GroupName="1" />
                </td>
            </tr>
        </table>
    </div>
    <div style="width: 887px">
        <asp:ImageButton ID="ImageButton1" runat="server" ImageUrl="../Images/search3.jpg"
            Style="margin-left: 422px" OnClick="ImageButton1_Click" /></div>
    <div>
        <asp:GridView ID="GridView1" runat="server" OnDataBinding="GridView1_DataBinding"
            BackColor="White" BorderColor="White" BorderStyle="Ridge" BorderWidth="2px" CellPadding="3"
            CellSpacing="1" GridLines="None" AutoGenerateColumns="False" Width="771px">
            <Columns>
                <asp:TemplateField HeaderText="选择">
                    <ItemTemplate>
                        <asp:CheckBox ID="CheckBox1" runat="server"></asp:CheckBox>
                    </ItemTemplate>
                </asp:TemplateField>
                <asp:BoundField DataField="CompanyName" HeaderText="公司名称" SortExpression="CompanyName" />
                <asp:BoundField DataField="WorkPlace" HeaderText="公司所在地" SortExpression="WorkPlace" />
                <asp:HyperLinkField DataNavigateUrlFields="Companywebsite" HeaderText="公司网站" DataNavigateUrlFormatString=""
                    DataTextField="Companywebsite" />
                <asp:BoundField DataField="Publishposition" HeaderText="发布职位" SortExpression="Publishposition" />
                <asp:BoundField DataField="LinkPhone" HeaderText="联系方式" SortExpression="LinkPhone" />
                <asp:BoundField DataField="LinkPerson" HeaderText="联系人" SortExpression="LinkPerson" />
                <asp:BoundField DataField="ConcourNumber" HeaderText="招聘人数" SortExpression="ConcourNumber" />
            </Columns>
            <FooterStyle BackColor="#C6C3C6" ForeColor="Black" />
            <HeaderStyle BackColor="#4A3C8C" Font-Bold="True" ForeColor="#E7E7FF" />
            <PagerStyle BackColor="#C6C3C6" ForeColor="Black" HorizontalAlign="Right" />
            <RowStyle BackColor="#DEDFDE" ForeColor="Black" />
            <SelectedRowStyle BackColor="#9471DE" Font-Bold="True" ForeColor="White" />
            <SortedAscendingCellStyle BackColor="#F1F1F1" />
            <SortedAscendingHeaderStyle BackColor="#594B9C" />
            <SortedDescendingCellStyle BackColor="#CAC9C9" />
            <SortedDescendingHeaderStyle BackColor="#33276A" />
        </asp:GridView>
    </div>
    <div>
        <asp:Button ID="Button1" runat="server" OnClick="Button1_Click" Style="margin-left: 428px" /></div>
</asp:Content>
